how to properly separate sql codes........
I am using &_ as a separator...because it will not suits the visual basic code form...it will skip to the next line that's why I am having trouble in it
Below is my code...please help me separate this using the proper separator and proper format -
if CESDBConn.execute ("SELECT `t_application`.`PersonalInfoID`,`t_application`.` DateOfApplication`,`t_application`.`SchoolLastAtte nded`,`t_application`.`SLAAddress`,`t_application` .`GeneralAverage`,`t_application`.`CourseID`,`t_ap plication`.`SchoolYearID`,`t_personalinfo`.`FName` ,`t_personalinfo`.`MI`,`t_personalinfo`.`LName`,`t _personalinfo`.`BirthDate`,`t_personalinfo`.`Place OfBirth`,`t_personalinfo`.`Age`,`t_personalinfo`.` Gender`,`t_personalinfo`.`HomeAddress`,`t_personal info`.`ContactPerson`,`t_personalinfo`.`ContactPer sonPhone`,`t_personalinfo`.`Father`,`t_personalinf o`.`Mother`,`t_personalinfo`.`HSDateGraduated`FROM `t_application`
-
-
INNER JOIN `t_personalinfo` ON (`t_personalinfo`.`PersonalInfoID` = `t_application`.`PersonalInfoID`)
-
-
WHERE (`t_application`.`PersonalInfoID` LIKE '" & .PersonalInfoID & "')
-
-
AND (`DateOfApplication` LIKE '" & .DateOfApplication & "')
-
-
AND (`SchoolLastAttended` LIKE '" & .SchoolLastAttended & "')
-
-
AND (`SLAAddress` LIKE '" & .SLAAddress & "')
-
-
AND (`GeneralAverage` LIKE '" & .GeneralAverage & "')
-
-
AND (`CourseID` LIKE '" & .CourseID & "')
-
-
AND (`SchoolYearID` LIKE '" & .SchoolYearID & "')
-
-
AND (`FName` LIKE '" & .FName & "')
-
-
AND (`MI` LIKE '" & .MI & "')
-
-
AND (`LName` LIKE '" & .LName & "')
-
-
AND (`BirthDate` LIKE '" & .BirthDate & "')
-
-
AND (`PlaceOfBirth` LIKE '" & .PlaceOfBirth & "')
-
-
AND (`Age` LIKE '" & .Age & "')
-
-
AND (`Gender` LIKE '" & .Gender & "')
-
-
AND (`HomeAddress` LIKE '" & .HomeAddress & "')
-
-
AND (`ContactPerson` LIKE '" & .ContactPerson & "')
-
-
AND (`ContactPersonPhone` LIKE '" & .ContactPersonPhone & "')
-
-
AND (`Father` LIKE '" & .Father & "')
-
-
AND (`Mother` LIKE '" & .Mother & "')
-
-
AND (`HSDateGraduated` LIKE '" & .HSDateGraduated & "')").EOF then
-
Please...God bless
1 1505
First, I added code tags for ya, then I went ahead and brought down the necessary ANDs to make it more readable.
Is this what you were after? Do stay tuned for other ideas if not:-)
Happy New Year!
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Yong Wang |
last post by:
Hi, All:
We have a network management system written in C++, MysQL, and Hp
SNMP. It works in Solaris command line. When I wrote a similar
python codes which call compiled C++ and mysql codes in...
|
by: Robert Brown |
last post by:
Let's say I have a type hierarchy: (just an example)
the general entity customer:
CREATE TABLE customer(customer_id int, customer_name varchar(250),
customer_type int)
three specific...
|
by: Paul Fame |
last post by:
Hello World,
This is not a flame, but a question about the fundamentals of the
language. Unlike some languages, C++ requires class member functions
to be declared twice: once in the class...
|
by: Mark Waser |
last post by:
Hi all,
I'm trying to post multipart/form-data to a web page but seem to have
run into a wall. I'm familiar with RFC 1867 and have done this before (with
AOLServer and Tcl) but just can't seem...
|
by: Michael |
last post by:
Hi,
I think my problem deals with class casting and inheritance.
I want to deal with various Audio Formats, reading into memory for
modification, working with it (done by different classes),...
|
by: HKSHK |
last post by:
This list compares the error codes used in VB.NET 2003 with those used
in VB6.
Error Codes:
============
3: This Error number is obsolete and no longer used. (Formerly:
Return without GoSub)...
|
by: surya926 |
last post by:
Hello
I am loading one input xml file and after manipulating the xml file the data should update in that xml file and returns the updated xml file as a output.
Here my problem is i am using...
|
by: amit.uttam |
last post by:
Hey everyone,
I've recently jumped big time into python and I'm working on a
software program for testing automation. I had a question about proper
logging of output. What I would like is:
1....
|
by: anubhavjha |
last post by:
Hi Friends,
I have a web application through which, the ajax is used to post the data onto the server and return the results. When i alert the xmlhttp.readystate sometimes it takes long time, that...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |