Search results

  1. samehkh

    Importing from XML. Field width issue.

    We delete the tables every time and import them fresh from an XML file. Import specs works with text files, but I could not get Access to use it with XML.
  2. samehkh

    Importing from XML. Field width issue.

    I do not have control over that. When I import the tables from XML the field type is automatically selected. If I change the size after the import the date is already lost so it wont help.
  3. samehkh

    Importing from XML. Field width issue.

    We are importing data from XML files manually to an access Database. The imported tables are all text fields with field width 255. Some text fields are too big and we end up loosing some records as import errors. Is there a way to let access generate an imported table with a text field that is...
  4. samehkh

    Conditional Formatting

    I had to use trial and error, I tried several things and it finally worked. For Each Box In RPT If (Box.Tag = "45") Then If (Box > 0 And Box < 45) Then Box.BackColor = White Else Box.BackColor = Grey End If End If What confused me a lot is that I declared Box as control...
  5. samehkh

    Conditional Formatting

    I did not fully understand your solution. Can you please clarify the idea of using the tag property? I know how to loop through fields of a table using table.fields(x) but havent tried that with a report, especially that there is some labels and lines as well that I will need to skip. Thanks.
  6. samehkh

    Conditional Formatting

    I am kind of in the same situation, but I am desiging a report for some test results of batteries, I have about 32 text boxes and i need to set the background colour to gray if the value exceeded a certain threshold. I would normally go like: if me.V1> 20 then me.v1.backgroundcolour= gray if...
  7. samehkh

    Does it matter where to place the front end?

    Thank you!
  8. samehkh

    Does it matter where to place the front end?

    That was a good idea, but in my case I am using an MDB file as the fron end, so it wont be able to copy itself when it is open. I also need to know if my idea of every user having his own copy of the .mdb front end makes sense, or is it better to have one file that everybody opens from the...
  9. samehkh

    Does it matter where to place the front end?

    Hi, When I used to develop multi-user networked access applications, I used to give every user his own copy of the frontend. I was also the network admin at that time so I could easily create shares on users' machines to hold the application, and reach it from my desktop to update the file. In...
  10. samehkh

    Problem getting parameters from a form.

    I actually changed the whole design now to read the parameter from a function GetDocumentNo() rather than a control on the form. At sometime i still had to enclose the function call in a Clng() but now seems to be working. Thats crazy. Sorry I lost track of the problem now as I changed the...
  11. samehkh

    Problem getting parameters from a form.

    No it is all english.
  12. samehkh

    Problem getting parameters from a form.

    Hi I ve been doing access programming since 1997, I've always used queries that read parameters from a form's text box or combobox or whatever, and this always worked for me no problem until, I started a new job and need to develop a small application to replace the paperwork I have to do. I...
  13. samehkh

    Date Field

    Try IsDate()
  14. samehkh

    AutoNumber

    Sometimes business rules dont allow serial numbers to be dropped, like in the case I posted (Invoice numbers)
  15. samehkh

    AutoNumber

    This code helps solving the serial number problem in a multi user environment, where several users are attempting to take the same number. It depends on keeping the number in a separate table and then opening it one at a time with the "deny read" permisson. One User will be allowed in while...
  16. samehkh

    VB versus VBA

    Or it could be their way of getting your money gradually, by releasing VB 5 and and saying it has better support for database, and then VB 6 and saying it has improved crystal reports and improved data controls, and so on. It is like having the blue prints of the 20 GB hard disk yet selling you...
  17. samehkh

    VB versus VBA

    Thats my opinion too, and I said that in another thread. I still believe VB is way behind Access in terms of ease of use and getting things done quickly. What is provoking is that VB doesnt have to be that handicapped!! I really beleive they can be merged into one product. Microsoft owns the...
  18. samehkh

    list values horizontally

    I tried it too. Very nice.
  19. samehkh

    list values horizontally

    The only solution I can think of is make a table for the report, structure the table the way you want the report to be, purge it before you open the report and use an a ppend query to fill it up with the data for each specific instance of the report.
  20. samehkh

    Auto scroll text box?

    My suggestion was originally for Mike's problem. I am not sure if thid will help, but if you are using a listbox, you can scroll through it up and down using code like: Static ScrollSt As String ...Loop start Me.MyList.AddItem YourItem ScrollSt = ScrollSt + "{DOWN}" Me.MyList.SetFocus...
Back
Top Bottom