I understand that you can't use IIF within select statement. I am trying to use Case Statement. Here's scenarior, if test > 50 pass, else fail. Studends can have scores from 1 to 100. I tried the following, which is not working. I am hoping to see if anyone can help me fix it.
select
case...
thanks for answering. it works out great. now that i can read my file. The only question left is that how many files can u open at a time for writing? before, i was only writing to 1 file and reading off that 1 file. i am trying to write to 2 files. it says my file already open. it's it...
Hi, I have a text file with the following information:
name
email
department
phone number
on each line. I would like to know how you read the text file using vba code line by line. Thanks
i have the following code:
Dim olapp As New Outlook.Application
Dim namespace As Outlook.namespace
Dim folder As Outlook.MAPIFolder
Dim folderitems As Outlook.Items
Dim totalcounts As Integer
Dim contactcount As Integer
Dim tempdist as DistListItem
Set namespace = olapp.GetNamespace("MAPI")...
Hi, I am trying to find out more about distribution list in outlook. I would like to be able to list the distribution list in a list box, be able to add new ones, edit current ones. How can i do it or where can I find more information about that? thanks in advance.
Thanks for replying zonie32 and dhookom. I just tried what you guys sugguested. zonie32, if i have control source = 1, running sum = over all, the text box will display #Error. If control source = count([fieldname]), txtbox will be blank. As for dhookom's method, I am getting #Error when...
Hi, I am trying to put # the of records return by a query on page header. I have a query that returns all people in one department as records source for report. how do I put a count of how many records are actually return with my query on top of page? I have a text box on top, just don't know...
hmm i m not sure if Dir("M:\dd\dd\IVR Database\June 05\*.txt") will pick up all the txt files or not. maybe try removing the *.txt from it? i had problem with transfertext before for exporting coz i didnt have that schema file created. i did notice that if u leave that parameter out during...
Thanks for replying Onthefly, I am not exactly sure what is a specification file. but when i try extracting a table with fixed length. It came out fine. I used the exact syntax, just replaced, queryextractdata with name of table instead. It was able to pick up table name while it doesn't not...
Hi, I have an adp file which I want to have a button to create a new table and another to delete that table base on click event. Can someone show me how to do it? thanks
Hi, I created a view name queryExtractData in sql server 2000, which returns a few columns in tables and I am trying to export the result of the returned columns to a text file using DoCmd.TransferText. I have a button and the code following was what i typed in the on click event for button...
hmm is that in access 2000 or this part of the menu for adp files? I can't see link table in menu. there is a Export, Get external Data -> Import under my Menu File. But, don't see link table anywhere :(
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.