User Profile

Collapse

Profile Sidebar

Collapse
mutanic
mutanic
Last Activity: Jun 14 '11, 12:39 PM
Joined: Oct 8 '10
Location: Kuala Lumpur, Malaysia
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mutanic
    started a topic How to get SUM of "Price" base on selected "Item"
    in XML

    How to get SUM of "Price" base on selected "Item"

    Hi Bytes,

    I'm trying to get SUM of column "Price" base on selected item in column "Item". I've got no idea how to solve this without have to use sort & group function through SPD. This has to be a basic summary at the bottom of main list. I try to use $nodeset instead of $Rows but it become error. This is how I try to create the code.

    Code:
    sum($Rows/@Price[@Unit='Item1'])
    This code got no error...
    See more | Go to post

  • Data type of RO is "Text" only...

    I got list of "Recovery Officer" inside table tblRO which is connected to tblSolicitorMon thlyReport as it would appear as dropdownlist when you open in table mode.

    Now I got this button in form which also contain list of "Recovery Officer" as dropdownlist, I select the name then I want my form recordset contain related data to the selected name. How do I do...
    See more | Go to post

    Leave a comment:


  • Ok, I just change the code into this :

    Code:
    Public Sub cmdSelRO_Click()
    On Error GoTo Err_cmdSelRO_Click
    
    Dim dbs As Database
    Dim rst As DAO.Recordset
    Dim SQL As String
    
    'If txtTitleRecoveryOfficer.Visible = False Then
    '    txtTitleSolicitor.Visible = True
    'Else
    '    txtTitleRecoveryOfficer.Visible = False
    '    txtTitleSolicitor.Visible = True
    'End If
    
    Set
    ...
    See more | Go to post

    Leave a comment:


  • OpenRecordSet error Type Mismatch! How to solve this?

    Hi everybody, I couldn't identify what is the error...here is my code :

    Code:
    Public Sub cmdSelRO_Click()
    On Error GoTo Err_cmdSelRO_Click
    
    Dim dbs As Database
    Dim rst As DAO.Recordset
    Dim SQL As String
    
    SQL = "SELECT * FROM tblSolicitorMonthlyReport WHERE RO = '" & cmbRO.Value & "' ORDER BY RO"
    Set dbs = CurrentDb("tblSolicitorMonthlyReport")
    ...
    See more | Go to post

  • How to open new form & load query base on selection from different form?

    Hi everybody, I'm stuck at this issue..

    I got no idea how to load query on new form base on my selection from other form.

    Currently I got this "Select Officer" screen/form asking user to select which officer you want to review their report on customer account. Example; each officer got 10 customer account and when I select the officer name from dropdownlist then click on button "Review by officer"...
    See more | Go to post

  • Alright then...I got couple question to ask & I'll post new question later..
    See more | Go to post

    Leave a comment:


  • *** Avoid trying to repair your database inside MS Access, otherwise you will having trouble to import data inside all those files because the program cannot find the files inside the folder (even if those files exist on it)...

    *** There is some compatibility issue with security warning because ONLY version of 2007 & lower can run the program without prompting the user for confirmation of security..."DoC md.Setwarnings False"...
    See more | Go to post

    Leave a comment:


  • somehow I have to change the code again to make it getting data from multiple Excel .xls file as I tought .xls will take a smaller size than .mdb...

    Current code is great & it work just how I want so to the other members who thinking how to importing data as I mentioned at the beginning, feel free to modify this code & suit your program, guest I need to restructure the code again to make it retrieving data from .xls this time...I'll...
    See more | Go to post

    Leave a comment:


  • I did it...here is the code (probably need to do housekeeping later....hehehe );

    Code:
    Public Sub cmdBulkUpload_Click()
    On Error GoTo Err_cmdBulkUpload_Click
    
    Dim Archive
    Dim Source
    Dim arcPath As String
    Dim StoragePath As String
    Dim SourcePath As String
    Dim Storage
    Dim myfile
    Dim dbSource As Database
    Dim dbStorage As Database
    Dim dbStorageExecute As String
    Dim dbSourceExecute
    ...
    See more | Go to post
    Last edited by mutanic; Oct 11 '10, 09:05 AM. Reason: make StoragePath & arcPath shorter...

    Leave a comment:


  • Hi NeoPa, the dialog appear ask me to "browse" the folder but it won't recognize any .mdb file inside it & of course i change the code as suggested, i think it would be better if it just appear like directory list to let the user to "select" the folder, just like windows explorer directory list...maybe i need to play a bit see how it's work...
    See more | Go to post

    Leave a comment:


  • Hi NewPa, sorry I failed to update last night...

    Thanks for changing the code for those path...how come i didn't realize to do that at the beginning...now i'm proceed with the rest of your suggestion...le t see the result after this...
    See more | Go to post

    Leave a comment:


  • thanks guys...i'll try to play with your suggestion tomorrow night, just came back from long distance ride...seriousl y this is my 1st project after 6 year leaving programming work, so maybe i'm a bit slow to pickup & need some time to try n error those code...i'll post my result later...good night everybody...
    See more | Go to post

    Leave a comment:


  • Hi MMcCarthy,

    Sorry for my bad english hope you can catch what i am trying to say..

    Unfortunately that's the code i am trying change even it's already achieve the purpose to import data from multiple access files inside my database. Current code is referring to location of source file as what i set i.e; "C:\SourceFiles \" & that mean every time i want to "bulk upload" the data 1st i need to put all...
    See more | Go to post
    Last edited by NeoPa; Oct 9 '10, 12:55 PM. Reason: Good attempt. I just cleared all the # codes from the code.

    Leave a comment:


  • mutanic
    replied to 9 Digit Zip codes not printing with dash
    i'm not a pro, maybe you can set field Ship8 format same as field ZIP...

    my friend also said it could be because you use input mask instead just number..
    See more | Go to post

    Leave a comment:


  • Hi Niheel, please re-merge my 1st post (my bad for the mistake) as that is the code I need to modify/enhance base on these Function SelectFolder & cmdExportExcel_ Click codes.. I already try to change the code to let the user to choose the folder which is contain the multiple source file inside. Feel free to inform me if I did something wrong here...I'm ready to learn...
    See more | Go to post

    Leave a comment:


  • Use select folder to import multiple .mdb files inside access table.

    Hi everybody, 1st thing 1st thanks to bytes.com for letting my question to be post here. I'm using MS Access 2007 and the file has been save as MS Access 2000 (.mdb) format. Currently I'm manage to import multiple access file data into database (.mdb) file with one click button. I'm trying to add more enhancement so the user can select the folder where the source file located i.e; thumbdrive or My Documents or Desktop instead they have to put those...
    See more | Go to post
    Last edited by Niheel; Oct 8 '10, 04:05 PM. Reason: don't know what was up with the first post, but merged it with the question in the second post
No activity results to display
Show More
Working...