Ok what you need to do is check to see if the strings are empty and if they are do not display the comma or antyhing else. If they aren't show what you need to show.
IF TRIM(address1)+ TRIM(field2) + ...etc = '' THEN
stringvar := ''
ELSE
Show full address string
Does this make sense...You...
What you could do is just create another if statement.
IF TRIM(TRIM(Add1) + TRIM(Add2) + TRIM(Add3)) + TRIM(City) + TRIM(State))<> '' THEN (use the last line you have already)
ELSE
''
If this doesn't help let me know and I can look at it again. But given your description, I believe this...
Hey guys....Help Needed
I am trying to create a table using a make-table query. This table will sent to a text file. Howeer, I need a sequential in-file number that will keep track of the record number it is on. Does anyone have any ideas how I can tell a query to create a Counter inside...
When you go to select the application you want to run in Access. Hold down the shift key as you double click on the file or shortcut icon until the database is loaded completely. You will know when it is finished, because Access will be open is your system tray.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.