Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: aquinox
  • Order by date
  1. aquinox

    open a specific form in VB 2005

    Hi, wondering if anyone might be able to help me here. I'm a beginner to Visual Basic 2005 Express Edition. Initially i thought it would not be much different from VB Application for Access as i'm a bit more comfortable with it now. But because i want to move our database to SQL Server, i...
  2. aquinox

    text get chopped off in half at the end of a page

    Hi, wondering if anyone might be able to help me here. In the report, most of the text-boxes have been set with "can grow" properties to "yes". This way, regardless of how long the content of the relevant fields, they would show all the content. If they are too long, then they'd push down...
  3. aquinox

    a little square box appearing in the data

    Thank you PHV, It works now :)
  4. aquinox

    a little square box appearing in the data

    Hi, wondering if anyone might be able to help me here. It may be a trivial question here but I just couldn't solve it. I would like to replace the "return carriage key" with something else but just don't know how to put it into code. In the table, i can see that there are some that look like...
  5. aquinox

    how to refresh form that has subforms in it

    Thank you, PHV It works now. I don't know what i did before. i certainly did try to use requery but it didn't work back then. Anyway, all matters is that it works now. Thank you for your help.
  6. aquinox

    how to refresh form that has subforms in it

    Hi, I have a problem with refreshing a form which has two subforms in it. For example, Form AForm has subform1 and subform2. In the form, there is a button called "Add New". When clicking the button, another form BForm will pop up allowing user to enter relevant fields. What i'd like to happen...
  7. aquinox

    produce PDF as well as name the filename automatically

    Hi, I was wondering if anyone might be able to help me here. This is what i would like it to happen. I would like to be able to produce PDF out of Access reports as well as naming the file out of the records automatically. For example, When clicking on a button called "Get PDF Reports" on a...
  8. aquinox

    question on report customization

    Hi Dhookom, Thank you very much. It works now. Sorry for taking up much of your time to get this resolved because of my poor explanation. You're a legend :) Thank you
  9. aquinox

    question on report customization

    Hi Dhookom, Sorry about confusing you with my explanation. Ok, i can explain that. The report has the Record Source coming from a query (which i'm not allowed to touch). In the query, there are a number of fields in there and some of them are the years - 2008/9, 2009/10, etc. In the design...
  10. aquinox

    question on report customization

    Hi Dhookom, I found that in the event of sub Report_Open as follows Private Sub Report_Open(Cancel As Integer) InitialYear = Form1.myYear.Value MyYearValue = Val(Mid(InitialYear, 3, 2)) startYear = Left$(InitialYear, 2) ... Me.Ctr_Year1.ControlSource = currYear MyYearValue =...
  11. aquinox

    question on report customization

    Thank you, Dhookom, for your reply. I actually did try it yesterday but wasn't sure what i was doing according to your suggestion. Yesterday, this was what i did but got the error Cancel = (Nz([Me(Ctr_Year1)], 0) + Nz([Me(Ctr_Year2)], 0) + Nz([Me(Ctr_Year3]), 0)) = 0 Then, tried what you...
  12. aquinox

    question on report customization

    Hi Dhookom I sort of don't quite understand how it works with the variable as control name. Sorry for being too slow to catch what you suggested before. However, i just realised what you meant by saying + is for numeric addition use. so now i understand how the code you gave works now. Cancel...
  13. aquinox

    question on report customization

    Hi Dhookom, Previously, i didn't use Option Explicit and now i do. supposedly, they're all of type "string" - myyear1,myyear2, etc. I changed the following code Before: Cancel = (Nz(["'" & myyear1 & "'"], 0) + Nz(["'" & myyear2 & "'"], 0) + Nz(["'" & myyear3 & "'"], 0)) = 0 After: Cancel =...
  14. aquinox

    question on report customization

    Thank you, Remou and Dhookom for your helps. I tried the following code but got run-time error #2465 Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) InitialYear = Form1.myYear.Value MyYearValue = Val(Mid(InitialYear, 3, 2)) startYear = Left$(InitialYear, 2) currYear...
  15. aquinox

    question on report customization

    Hi, Just wonder if anyone might be able to help me here. I have a question on Access report. I have a database built using Access 03. I have a report that has a several subreports whose control sources are based on queries. Sometimes, there are occasions where in the sub-reports, there are a...
  16. aquinox

    how to subtract date or time in Access

    Hi, Wonder if i could get some help here. We have a company management database created using Access 03. I was asked to put on a form that would calculate an annual leave for all staffs. I know the formula how to work out the annual leave. However, what i'm stuck here is we really want to do it...
  17. aquinox

    new to vmware

    Hi, Just wonder if i could get some help here. I'm new to VMware. From my understanding, it allows multiple OS on a single machine. I guess my question here is the other day, i was trying to download it (thought it's an open source) but had to purchase it. Is that right? how do i install it...
  18. aquinox

    operand without operator - invalid syntax

    Thank you JoeAtWork for your reply. Sorry for not leaving out some crucial information here. In the database, i have tables, "Job Register" and "SubJob Register". For example In the Job Register table, we may have records like 000100 - 00(Industry_No), 01(Client_No), 00(Job_No) In the SubJob...
  19. aquinox

    operand without operator - invalid syntax

    Thank you JoeAtWork for your reply. That fixes the error message but it prompts for Job Register as soon as i get out of the designview mode. I then removed [Job Register] from the code as follows =iif([SubJob_Name] = "", dlookup("[Job_Name]","Job Register","[Industry_No]='" & [Industry_No] &...
  20. aquinox

    operand without operator - invalid syntax

    Hi, Wonder if i can get some help here with the syntax. The following is the code i'm trying to put into a control source of a textbox. =iif([SubJob_Name] = "", dlookup("[Job_Name]","Job Register","[Job_ID]='" &[Job Register]![Job_ID] & "' AND [Industry_No]='"[Job Register]![Industry_No] & "'...

Part and Inventory Search

Back
Top