Newb Help Formatting Table Data
Oct 5, 2007
I have to create a new table for some data I have from work. The data was imported within quotations though, so it won't let me copy and paste it untill the quotes are removed. I have over 3000 data values in each column, so I can't just go through and delete every quotation mark. Is there any way for me to select a column and remove the quotations around every value?
I have the XP version, by the way.
Thanks !
View Replies
ADVERTISEMENT
Mar 20, 2008
Hoihoi, Well, Hello..Never thought I'd register on an Access forum, but, hey, why not!I'm new to Access, never really liked it..but this assignment has changed me.. i really like Access and well DBA'ing in general!I need a bit of help with a few things:-----I hate registering on sites JUST asking for answers >< I hope to learn a lot of stuff from here!-------Just like to add it's for an Assignment at college, i KNOW I KNOW you people can't help with assignment work, BUT it's not like i'm asking you to do it for me, just need a bit of help Basically,I've got a database -It's based on a Mobile Library which visits nurseries.The nursery can loan a book, if a book is currently being loaned by a nursery and another nursery wants to loan that book, they can reserve it untill it is returned.Basically, I've got a few forms:21233I can do everything fine!Everything seems to work, i can loan and reserve..i can add books, nurseries and authors..HOWEVERwhen it comes to deleting.. it's a different story!On my delete_author form, I've got a Combobox which loads the authors and then i've got a Delete button which should delete the author which is in the combobox---- I've google'd for ages..and can't make much sense of any of the replies people have had..Is there anyone who can help me with this?Delete the author which is in the combo box..I can supply any details if people are willing to help :oWould LOVE to hear a reply from anyone!Cheers :)
View 14 Replies
View Related
Jun 30, 2006
I have a form that I created using autoform from my main table. The form is just for the user to enter a new record. But when opening the form, how do I get the fields to be blank and on a new record by default, rather than starting on the first record with the fields already populated?
And then if I make a button that says "add" but just closes the window, the data should automatically save right?
Thanks.
View 2 Replies
View Related
Dec 21, 2006
I am fairly new to access so please excuse my lack of knowledge. I am using Access 97
What I am trying to do is create a system where I ask for a zip code, then disply the closest 5 results to that zip code.
I currently have every single city with ZIP code in Michigan. I also have the list of results with their zip codes.
Since you cant relay on ZIP codes going in order, I also have the Latitude and Longitudes for each ZIP code. Of course I have the lat and long for my possible results.
How can I get the 5 clostest results based on two different factors (Lat & Long)? Would I want to construct a Query to do this?
Any tips or sites you can refer me to would be great! Thank you!
View 10 Replies
View Related
May 12, 2006
hey,
Am new to the forum and it seems a good place for help,
Am having some big problems with a database that i am using for a company. The problem being that users need to enter ref numbers for each record on to the database called "c3" numbers, there could be a unlimited amount of these numbers(they do need to be able to reported on though) per record
At the moment i have a serperate form linked to my original form with a lot of seperate fields labelled like "c3number", "c3number1", c3number2" and so on which the user enters the c3 numbers into ans saves
however it is becoming very hard to do counting reports with it set up like this.
has anybody any ideas's on how i could make the setup simpler?
many thanks
Steve
View 6 Replies
View Related
May 3, 2005
Ok, I have studied up on relationships, and read a lot of these threads but, I still have yet to find help. It seems a lot of the people on here have difficult problems that require dificult answers. Basicaly I have two tables Tblresort and Tbllifts, now there can be many chair lifts for each ski resort, so this would call for a many-to-one relation ship. Now, I create a relationship for the fields, and enforce refrencial integrity and all that. Now what do I put into the related field in Tblresort to get the lifts with ID#'s 1-8 to be related to the first resort.
I hope this all makes sense, so far I can only get one lift conected to the resort.
Thanks in advance
View 1 Replies
View Related
Mar 4, 2006
I am brand new to Access/VB as of Thursday. I am an aspiring programmer still in college. My proficiencies are more to the c++/HTML side of things right now, but I am in dire need of some assistance. I was recently given a series of projects to determine if I am qualified for a particular job. I have completed them all but one. I am modifying an invoice form in Access. I have accomplished all but two of the tasks on this last project. I need to modify the invoice form so that whenever a payment amount is entered, the payment date box I created populates with that date. I know I'm really close to it, but I keep getting errors and the only thing populating the box is #Name?. I also need to open up the print/preview mode of the invoice report when I click the print button as opposed to the current form it opens up to print from right now. If anyone could offer any assistance/advice on anything...even a tutorial that might point me in the right direction that would be excellent. I have until Tuesday to figure this out =) Thanks a bunch in advance!
P.S. This is where I thought I needed to execute the update for the payment date since it is where the payment is entered. If this doesn't help at all then I apologize.
Private Sub I_Payment_Exit(Cancel As Integer)
Me.I_Tax = NullToZero(Me.I_Subtotal * Me.I_TaxPerc)
Me.I_Total = Me.I_Tax + NullToZero(Me.I_Subtotal) + NullToZero(Me.I_ShipChg)
If Me.I_PaymentLock = True Then
Else
' Me.I_Payment = Me.I_Total
End If
Me.I_Balance = Me.I_Total - NullToZero(Me.I_Payment)
End Sub
View 1 Replies
View Related
Oct 3, 2007
Hi. I'm quite poor with Access, so sorry if this sounds dumb.
I have a table of customer records (tbl_customers), including name, address & postcode etc
I have a spreadsheet of customers their postcodes from a different system that shows customers who have bought a particular product.
Is there a way that I can create a query that lists those records in tbl_customers whose postcode is matched in the spreadsheet?
Jim
View 3 Replies
View Related
Dec 30, 2005
Hiya,
Sorry to add to the email threads, already posted on this forum. I have already searched on the forum for the relevant help but im still struggling. As am a newb when it comes to this sort of thing, and everythink is an on going learning curve.
Background, i work for a architectural firm, my boss would like the database to send out automated emails, to the local planning authority.
I have a query called "ApplicationEmailCouncilQuery" in this i have the following fields. ApplicationProjectID, ApplicationSubmitted, ApplicationRef, ApplicationDecisiondate, ApplicationContact, PlannersEmail, ApplicationEmployee, Email.
How do i get access 2k to automatically send out emails to each of the results individually as produced fromt he query, every 2 weeks.
I want the email to use the fields from the query.
To: "PlannersEmail"
Send: Your Application ref is "ApplicationRef" submitted on "ApplicationSubmitted"
Message: To ApplicationContact,
Please could you give me an update on the application "ApplicationRef" which we submitted on "ApplicationSubmitted".
Please reply to this following address "Email"
Yours Truly
"ApplicationEmployee"
-----------------------------------------------
Sorry for the long post, any help on the above matter would be greatly appreciated.
Thanx
Keith
View 3 Replies
View Related
Oct 21, 2004
I have a phone number field defined in a table as text and use the input maks !(999") "000-0000 for entering and editing data. Is there a way to use a mask when using this field in a list box? It would be nice to be able to show (555) 123-4567 instead of 5551234567.
Thanks,
Ted
View 2 Replies
View Related
Jan 29, 2008
I hope someone can help me with this issue. Currently I have numeric data that I need to convert. For example if a quantity is 42.5 in my data I need to format it to look like 00000042500 similarly if the quantity was -42.5 I need to format it to look like 00000042500-. Any assistance anyone can provided would be greatly appreciated.
View 5 Replies
View Related
Mar 14, 2007
Access 97 SR1
I am importing a file that has two numeric fields in it. I was asked to import as fixed length text fields with leading zeroes and no decimal point.
I am supposed to export the data in Csv format.
Source field from IBM iSeries DB: quantity is 15,3. Quantity source value is 9, requested text format of five characters 00009, the Csv result is 9. The field in Access is defined as Text 5 characters.
Source field from IBM iSeries DB: price is 17,4. Price source value is 1020.0000, requested text format of nine characters 000001020, the Csv result is 1200.00. The field in Access is defined as Text 9 characters.
Thanks,
Dave
View 1 Replies
View Related
Mar 10, 2008
I hope that someone out here can help me with this. I have recently had a format change from how I received updated data for my database. I used to update my tables from TXT files. There were several update queries/macros written to import the data from 5 or 6 different TXT files into one table. Well; my source has changed :eek: The downside: I can only get my data from an XLS or CSV file now; but the upside is all the data is only in 1 file.
The macros/queries were written years ago and I've been having migranes trying to figure out how this was all done. So, i've sort of started from scratch. I can easily import the data into a table; I have even gotten our front end of the database working so it's just a click of the mouse again.
The problem I have is that the data that is in this table is linked everywhere throughout this spiderweb of a database! I was unable to import my data into the existing table because that table's field names are different than what I have in the XLS file. I get all sorts of errors when I do this. So I am currently importing into a new table. (I.E. MASS and MASS Imports)
Is there an easy way to update data from table 'MASS Imports' to 'MASS' ?? what I was thinking was to use an update query with both tables and link each line.... Or am I way off base? Is there an easier way to do this?
Thank You!!
View 12 Replies
View Related
Aug 3, 2015
I have a centralised database that imports data from several other databases at the click of a button to produce a "global" query of data.
This is presented as a datasheet form which I am then able to filter. This is a subform to my main form.
I have a button on my Main form with a macro to ExportWithFormatting to excel. I was under the impression that exportwithformatting exported the filtered data.
How to export my filtered query data to Excel and not the whole query data?
View 3 Replies
View Related
Aug 1, 2014
Need to confirm whether the Default formatting option in the Conditional formatting Dialog won't work in datasheet view of a form. Please note that all conditional criteria are working fine but not the Default Formatting option - only in the Datasheet view (In Single Form view the default formatting is working fine)
View 11 Replies
View Related
Jun 24, 2013
Export Query Data with Formatting and Layout Using A Button On Form Before Or After DoCmd.TransferSpreadsheet
View 4 Replies
View Related
Apr 1, 2013
I inherited an Access 2000 (2002?) database that uses a textbox behind another to change the background color based on two different fields.
The Format property is set to: "[Green];"[Yellow], the Data ControlSource is set to:
=IIf([chkCheckedIn]=True,1,IIf([PassExpired]="NO",1,-1))
I understand the IIF(), but what's happening with the crazy characters? (It works the text changes from yellow to green). I tried replacing it with conditional formatting on the actual data control. That only changes color when I click on the control. The above shows the color all the time.
View 1 Replies
View Related
Jul 1, 2014
I am exporting data from the database to an excel sheet. Then I want to apply conditional formatting to the data so values between a certain range should be a certain colour.
But nothing happens when applying the conditional format, or when just trying to fill a cell in excel. Only when repeatedly clicking fill cell in excel does the colour change. Also all the cells are in the number format.
View 3 Replies
View Related
Sep 2, 2014
In my Access forms, i display data by month wise; and i want to give the conditional formatting with two condition;
If date of today is greater than target date for that month and if got value more than 0 - Red color
If date of today is lesser than target date for that month and if got value more than 0 - green color
Target date for every month in available in a separate table.
View 1 Replies
View Related
May 7, 2015
I have a query in my database called "Open Date" which is a date formatted field when imported as DD/MM/YYYY. The criteria is set to:
>=#06/04/2014# And <=#05/04/2015#
The query works just fine. My customer has come back and asked for the way the date is displayed to be in the YYYY-MM-DD format (i know it's not ideal but thats what they want). When i've done that using the following
Format([Table].[Open Date],"yyyy-mm-dd")
The query then returns no data.
View 6 Replies
View Related
Jul 15, 2007
Hello, i have a excel spreadsheet that has a column with a persons surname (comma) and firstname i.e Steve, Jones.
I export this spreasheet in Access, but would like to splitt the surname and first into separate columns in the table.. whats the easiest way to do this?? Thanks
View 2 Replies
View Related
Apr 13, 2005
I am trying to create custom "icons" using values retrieved from an access db. Right now, I'm pulling records that match the user's name(Fname) or "default", then assigning the returned values variables and plugging those variables in as the image, URL, and title of the "icon". The problem is that this setup will only retrieve the first record from the db that matches "Fname" or "default" and I want to create seperate "icons" for each record that matches "Fname". I can pull all matching records using the maketable(), but then I don't know how to format these as I have here to make additional "icons". My source code is included below:
Code: <% if Fname <> "" thenopencnset rs = Server.CreateObject("ADODB.RecordSet") SQL="SELECT ID, Date_Time, URL, Icon, Title, Description, Status FROM Submission WHERE Technician ='" & Fname & "' OR Technician='Default'" Set rs = cn.Execute(sql, , adCmdText)ID = rs.fields(0)URL = rs.fields(2)Icon = rs.fields(3)Title = rs.fields(4)rs.closecloseCNend if%><a href="<%=URL%>" target="new"><img border="0" title="<%=Title%>" src="menupics/<%=Icon%>.gif"></a><br><font color="#FFFFFF" face="Arial" size="2"><%=Title%></font>
Any help anyone could provide on this would be greatly appreciated. Thanks in advance. -Chris Gordon
View 1 Replies
View Related
Mar 31, 2013
In a table, I would like a particular field to look thusly:
xx-xx-x-x-x
My question is how do I format it so that the dashes (-) are automatically inserted when the data is keyed into the input screen. The dashes would also have to be displayed on the table.
View 2 Replies
View Related
Jul 22, 2015
1. Can we have the cells within access table change color when their input changes as in excel? For Ex:
If the input for a cell inside Column "Status" says "Pending" then the cell color is orange.If it says "Completed" then color is green?
Is this possible on Access?
2. Also is it possible to change the color of Column headings?
I tried changing the color but found that the entire table changed colors with alternate rows.
View 7 Replies
View Related
Jan 9, 2007
Hi all
the problem i am facing is that the table exported by ACCESS to EXCEL is without any kind of formatting, bold text italics etc. , is there any way i can make access export the excel file with bold column headings and the cells having solid borders(basically any formating i wish to give).
Each time i export the table i have to open excel and format the spreadsheet giving headings highlighting stuff and all and it is very troublesome so i did make a macro in EXCEL for it but i still need to open the file in Excel and run the macro. is there some way to run that macro during the export process so that the user just gets the file in the format he/she wishes.
thanks for you help in advanc
View 1 Replies
View Related
Nov 4, 2013
I have a table in access and I need to format it so that when column "Status" = "Closed" column "Closed" = "yes". so it will automatically mark column "Closed" "yes" if "status" says "closed". Instead of having to change both columns all the time.I know how to do that in MS Excel, but is it possible in MS Access 2013?
View 3 Replies
View Related